<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	template="/templates/loginTemplate.xhtml">
	<ui:define name="windowTitle">
            #{msgs.loginTitle}
         </ui:define>
	<ui:define id="content" name="content">
		<table align="center" width="100%">
			<h:form id="loginForm" prependId="false">
				<h:panelGrid columns="1">
					<ui:param name="bean" value="#{loginBean}" />
					<h:outputLabel styleClass="text" id="userNameLbl" value="Login" for="j_username" />
					<h:inputText style="font-size: 14px; font-style:oblique; width: 100%" id="j_username" value="#{bean.login}" />

					<h:outputLabel styleClass="text" id="passwordLbl" value="Hasło" for="j_password" />
					<h:inputSecret
						style="font-size: 14px; font-style:oblique; width: 100%"
						id="j_password" value="#{bean.password}" />
					<h:commandButton id="loginButton" action="#{bean.login}"
						value="zaloguj" />
				</h:panelGrid>
			</h:form>
		</table>
	</ui:define>

</ui:composition>